<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

    <%--  @ include 会将多个页面合二为一  --%>
    <%@ include file="common/header.jsp"%> 
    <h1>我是主体</h1>
    <%@ include file="common/footer.jsp"%>

    <hr>

    <%--  jsp:include 是引入页面，多个页面拼接为一  --%>
    <jsp:include page="common/header.jsp"/>
    <h1>我是主体</h1>
    <jsp:include page="common/footer.jsp"/>

</body>
</html>
